# ecom_mptt_tags.py
from django import template
from mptt.templatetags import mptt_tags  # 导入官方实现

register = template.Library()

# 直接注册官方标签
register.tag('recursetree', mptt_tags.recursetree)
